博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kindeditor 代码高亮设置
阅读量:4613 次
发布时间:2019-06-09

本文共 487 字,大约阅读时间需要 1 分钟。

个人博客 ,没有代码高亮还是不行。 

    var options = {
cssPath: ['/static/kindeditor/plugins/code/prettify.css',],

 

再设置一下css :

pre.prettyprint {
border: 0; border-left: 3px solid rgb(204, 204, 204); margin-left: 2em; padding: 0.5em; display: block; margin: 1em 0px; white-space: pre; word-break:break-all; word-wrap: break-word; word-break: normal; }

 

 

 

 

 

 

转载于:https://www.cnblogs.com/yeelone/archive/2013/01/10/2854895.html

你可能感兴趣的文章
淡入淡出的效果
查看>>
Python加密与解密
查看>>
C++在Ubuntu上编译mysql问题
查看>>
Java学习--Cookie 和session
查看>>
rem布局在webview中页面错乱
查看>>
第12章:MongoDB-CRUD操作--文档--查询--游标详解
查看>>
C语言中环境变量操作
查看>>
[codeforces 519E]E. A and B and Lecture Rooms(树上倍增)
查看>>
SQL语句中的output
查看>>
jquery之过滤filter,not
查看>>
Ci 自己的分页类【原创】
查看>>
JavaScript编写自己的比特币交易代码
查看>>
THE START OF ASE
查看>>
使用mongodump及mongorestore备份及恢复数据
查看>>
Ch07 包和引入 - 练习
查看>>
变形属性 transform
查看>>
黑马程序员----java基础:多线程
查看>>
Quartz 2D 绘图
查看>>
Scrapy源代码分析-经常使用的爬虫类-CrawlSpider(三)
查看>>
ZOJ Problem Set - 3820 Building Fire Stations 【树的直径 + 操作 】
查看>>